#include "nextwid.h"

nextWid::nextWid(QString icon)
{
         nextPix = new QPixmap(QString(QApplication::applicationDirPath() + "/themes" + icon));
         this->setPixmap(*nextPix);
}

void nextWid::mousePressEvent ( QGraphicsSceneMouseEvent * event )
{
        emit nextPressed();
        qDebug() << "Event => nextPressed()";
}
